package org.rcy.ruicingmarket;

import org.rcy.ruicingmarket.common.utils.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

/**
 * @author RuicyWu
 * @Date 2022/3/25 9:06
 */
@EnableFeignClients(basePackages = "com.rcy.feignclients")
@SpringBootApplication
public class CommentApplication {

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
    public static void main(String[] args) {
        SpringApplication.run(CommentApplication.class,args);
    }
}
